package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.SourcetruenumDao;
import com.bootdo.screen.domain.SourcetruenumDO;
import com.bootdo.screen.service.SourcetruenumService;



@Service
public class SourcetruenumServiceImpl implements SourcetruenumService {
	@Autowired
	private SourcetruenumDao sourcetruenumDao;
	
	@Override
	public SourcetruenumDO get(Long id){
		return sourcetruenumDao.get(id);
	}
	
	@Override
	public List<SourcetruenumDO> list(Map<String, Object> map){
		return sourcetruenumDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return sourcetruenumDao.count(map);
	}
	
	@Override
	public int save(SourcetruenumDO sourcetruenum){
		return sourcetruenumDao.save(sourcetruenum);
	}
	
	@Override
	public int update(SourcetruenumDO sourcetruenum){
		return sourcetruenumDao.update(sourcetruenum);
	}
	
	@Override
	public int remove(Long id){
		return sourcetruenumDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return sourcetruenumDao.batchRemove(ids);
	}
	
}
